package net.huashitong.ssydt.provider.pk.service;


import net.huashitong.ssydt.base.service.LongService;
import net.huashitong.ssydt.pk.entity.SsPkYmdxRank;
import net.huashitong.ssydt.pk.entity.vo.RankingInVO;

import java.util.List;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.12.19
 */
public interface SsPkYmdxRankService extends LongService<SsPkYmdxRank> {

    int deleteByMatchRecordId(Long id);

    int batchInsert(List<SsPkYmdxRank> ssPkYmdxRanks);

    SsPkYmdxRank getByMatchRecordIdWithUserId(Long matchRecordId, String userId);

    List<SsPkYmdxRank> query(RankingInVO rankingInVO);

    List<SsPkYmdxRank> findTopTen(Long matchRecordId);
}
